<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<portlet:defineObjects/>
<portlet:resourceURL id="getXMLData" var="getXMLDataURL">
</portlet:resourceURL>
<%
String isSetting = (String)request.getAttribute("isSetting");
if ("Y".equals(isSetting)){
%>
<div style="text-align:center;padding: 10px 0px;">
<embed tplayername="SWF" splayername="SWF" type="application/x-shockwave-flash" src="<%=request.getContextPath()%>/pages/tagcloud/tagcloud.swf" flashvars="xml=${getXMLDataURL}" mediawrapchecked="true" pluginspage="http://www.macromedia.com/go/getflashplayer" id="TrendAnalyser" name="TrendAnalyser" bgcolor="#FFFFFF" quality="high" wmode="transparent" allowscriptaccess="always" width="${width}" height="${height}"></embed>
</div>
<%
}else{
	out.println("请正确设置相关属性！");
}
%>